< Prev(J) / Next(K) > / View :

Filename: /text/swriter/guide/fields_userdata.xhp

(bookmark: bm_id3153398)
fields; user data
user data; querying
conditions; user data fields
hiding;text, from specific users
text; hiding from specific users, with conditions
user variables in conditions/fields

フィールド; ユーザーデータ
ユーザーデータ; 問い合わせる
条件; ユーザーデータフィールド
非表示; テキスト、特定のユーザーに対して
テキスト; 特定のユーザーに対して非表示、条件付き
条件 / フィールド内のユーザー変数

(variable: fields_userdata)Querying User Data in Fields or Conditions
(variable: fields_userdata)ユーザーデータを条件にする(hd_id3153398.59)

You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:
フィールドに渡されるユーザーデータやその他の情報を使って、条件判定などの処理が行えます。たとえば、ユーザーデータの比較には下記の演算子を使用できます。(par_id3154239.60)

Operator
演算子(par_id3155889.94)

Meaning
説明(par_id3147110.95)

== or EQ
== または EQ(par_id3150508.96)

equals
同じ(par_id3150531.97)

!= or NEQ
!= または NEQ(par_id3150725.98)

is not equal to
同じでない(par_id3150748.99)


If you want, you can use a condition to hide specific text in your document from a specific user.
また必要であれば、条件判定を使って、特定のユーザーに対してドキュメント上のテキストを非表示とするようにもできます。(par_id3153167.101)

  1. Select the text in the document that you want to hide.
    ドキュメント上の非表示にするテキストを選択します。(par_id3153190.102)

  2. Choose Insert - Section.
    メニュー 挿入 → セクション を選択します。(par_id3145273.103)

  3. In the Hide area, select the Hide check box.
    非表示領域で、非表示チェックボックスを選択します。(par_id3145297.104)

  4. In the With Condition box, type user_lastname == "Doe", where "Doe" is the last name of the user that you want to hide the text from.
    そしてボックス 条件付きuser_lastname == "Doe" のように入力しますが、ここで「Doe」がテキストを非表示にするユーザーの名字です。(par_id3155533.105)

  5. Click Insert and then save the document.
    挿入 をクリックしてドキュメントを保存します。(par_id3155573.107)

Note Icon 注マーク The name of the hidden section can still be seen in the Navigator.
非表示にされていても、セクションの名前はナビゲータで表示されます。(par_id3147760.108)

The following table is a list of the user variables that you can access when defining a condition or a field:
下記の一覧は、判定条件やフィールドを設定する際にアクセス可能なユーザー変数をまとめたものです。(par_id3147777.61)

User variables
ユーザー変数(par_id3147819.62)

Meaning
説明(par_id3147218.63)

user_firstname
user_firstname(par_id3147245.64)

First name
(par_id3147268.65)

user_lastname
user_lastname(par_id3145592.66)

Last name
(par_id3145615.67)

user_initials
user_initials(par_id3145642.68)

Initials
イニシャル(par_id3145666.69)

user_company
user_company(par_id3151200.70)

Company
会社名(par_id3151223.71)

user_street
user_street(par_id3151250.72)

Street
市町村(par_id3152912.73)

user_country
user_country(par_id3152940.74)

Country
国名(par_id3152963.75)

user_zipcode
user_zipcode(par_id3152990.76)

Zip Code
郵便番号(par_id3145679.77)

user_city
user_city(par_id3145706.78)

City
都道府県(par_id3145729.79)

user_title
user_title(par_id3145756.80)

Title
肩書き(par_id3145779.81)

user_position
user_position(par_id3156284.82)

Position
役職(par_id3156307.83)

user_tel_work
user_tel_work(par_id3156334.84)

Business telephone number
電話番号 (会社)(par_id3156357.85)

user_tel_home
user_tel_home(par_id3156384.86)

Home telephone number
電話番号 (自宅)(par_id3149728.87)

user_fax
user_fax(par_id3149756.88)

Fax number
Fax 番号(par_id3149778.89)

user_email
user_email(par_id3149806.90)

E-mail address
e-Mail アドレス(par_id3147294.91)

user_state
user_state(par_id3147321.92)

State
国名(par_id3147344.93)


(embed text/swriter/guide/fields.xhp#fields : linkinfo)

About Fields
フィールドについて(hd_id3145576.3)

(/embed text/swriter/guide/fields.xhp#fields)

(embed text/swriter/guide/conditional_text.xhp#conditional_text : linkinfo)

Conditional Text
条件付きテキスト(hd_id3155619.4)

(/embed text/swriter/guide/conditional_text.xhp#conditional_text)

(embed text/swriter/guide/hidden_text.xhp#hidden_text : linkinfo)

Hiding Text
隠しテキスト(hd_id3148856.1)

(/embed text/swriter/guide/hidden_text.xhp#hidden_text)

List of operators
演算子のリスト(par_id3147392.)


< Prev / Next >